package test

import (
	_ "gitee.com/yangwencheng/vblog/apps"
	"gitee.com/yangwencheng/vblog/config"
	"gitee.com/yangwencheng/vblog/ioc"
)

func SetUp() {
	// 配置文件
	_, err := config.GetConfigFromFile("/home/ywc/workspace/yangwencheng/vblog/etc")
	if err != nil {
		panic(err)
	}
	// 初始化控制器
	ioc.App().InitController()
}
